﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DoNetFrameworkWebApi.Models
{
    public interface IBaseRepository<TEntiry> where TEntiry : class
    {
        IEnumerable<TEntiry> GetList();
        TEntiry Get(object id);
        void Insert(TEntiry entity);
        void Delete(object id);
        void Update(TEntiry entity);
    }
}
